import requests


# url = "http://192.168.2.53:30019/chat_ai"
url = "http://58.33.114.130:30019/chat_ai"
data = {
    "allow_chat_count": 4,
    "allow_follow_up_count": 4,
    "chat_list": [
        "您好，欢迎光临，女士您贵姓？",
        "赵女士您好，您是看车还是维修保养？",
        "好的，您有约好的销售吗？",
        "我是第一次来你们店，听说车型比较丰富就来看看。",
        "想看看什么车型呢？",
        "好的，赵女士，我马上安排销售顾问来跟您做专业的介绍。"
    ],
    "chushi_checkpoint": [
        {
            "checkRegular": "意图",
            "checkpoint": "询问客户姓氏"
        },
        {
            "checkRegular": "意图",
            "checkpoint": "询问客户进店意图"
        },
        {
            "checkRegular": "意图",
            "checkpoint": "询问客户是否预约"
        },
        {
            "checkRegular": "意图",
            "checkpoint": "询问客户是否第一次进店"
        },
        {
            "checkRegular": "意图",
            "checkpoint": "询问意向车型"
        },
        {
            "checkRegular": "意图",
            "checkpoint": "介绍顾问"
        }
    ],
    "cut_label_dict": {
        "topicGroups": {
            "chat_count": [
                2,
                2,
                2
            ],
            "follow_up_count": [
                2,
                2,
                2
            ],
            "groups": [
                [
                    "询问进店意图",
                    "询问是否预约",
                    "询问是否第一次进店"
                ],
                [
                    "询问意向车型",
                    "介绍星辉顾问"
                ],
                [
                    "产品讲解",
                    "LED高性能大灯",
                    "M282发动机",
                    "方向盘介绍",
                    "音响介绍",
                    "智能驾驶辅助介绍"
                ]
            ]
        },
        "topicPoints": {
            "groups": [
                [
                    "询问客户姓氏"
                ]
            ]
        }
    },
    "cut_label_list": [
        [
            "询问客户姓氏"
        ],
        [
            "询问进店意图",
            "询问是否预约",
            "询问是否第一次进店"
        ],
        [
            "询问意向车型",
            "介绍星辉顾问"
        ],
        [
            "产品讲解",
            "LED高性能大灯",
            "M282发动机",
            "方向盘介绍",
            "音响介绍",
            "智能驾驶辅助介绍"
        ]
    ],
    "inputs": [
        {
            "robotTalk": [
                "您好，欢迎光临，女士您贵姓？"
            ]
        }
    ],
    "previous_round_label": [],
    "remaining_tags": [
        "询问客户姓氏",
        "询问客户进店意图",
        "询问客户是否预约",
        "询问客户是否第一次进店",
        "询问意向车型",
        "介绍顾问"
    ],
    "score_label": [],
    "standard_answers": {
        "询问客户是否第一次进店": {
            "customer": "",
            "user": "我是第一次来你们店，听说车型比较丰富就来看看。"
        },
        "询问客户是否预约": {
            "customer": "我还没有和你们店的销售顾问预约过，对你们店的销售也不了解，可以帮忙安排一下吗？",
            "user": "好的，您有约好的销售吗？"
        },
        "介绍顾问": {
            "customer": "这台车有些什么亮点，请为我讲解一下。",
            "user": "好的，赵女士，我马上安排销售顾问来跟您做专业的介绍。"
        },
        "询问客户进店意图": {
            "customer": "我是来看车的，有人可以给我介绍一下嘛？",
            "user": "赵女士您好，您是看车还是维修保养？"
        },
        "询问意向车型": {
            "customer": "我想看看A级，之前从垂媒上初步了解了一下A200，今天想来再深度了解一下，可以安排一下吗？",
            "user": "想看看什么车型呢？"
        },
        "询问客户姓氏": {
            "customer": "你好，我姓赵。",
            "user": "您好，欢迎光临，女士您贵姓？"
        }
    },
    "status_judge": 0
}
response = requests.post(url, json=data)
result = response.json()
print(result)

